package com.loveprogrammer.metadata.asynctool.callback;

import com.loveprogrammer.metadata.asynctool.worker.WorkResult;

/***
 * 回调接口
 */
public interface ICallback<T,V> {

    /***
     * 任务开始的监听
     */
    default void begin(){

    }

    void result(boolean success, T param, WorkResult<V> workResult);
}
